import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "@/styles/index.scss";
import "@UI/styles/ui.scss";
import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

if (process.env.NODE_ENV === "production") {
  const { mockXHR } = require("../mock");
  mockXHR();
}

const app = createApp(App)
  .use(store)
  .use(router)
  .use(ElementPlus)
  .use(Antd)
  .mount("#app");

// app.config = {}
// app.config.productionTip = false;
